home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / pbaseiv.zip / P4WPR006.TIP < prev    next >
Text File  |  1991-12-16  |  1KB  |  44 lines

  1. A WordPerfect 5.1 macro I designed is popular in our office.
  2. Maybe others will find it useful too. The macro performs a
  3. simple job--it inserts spaces to the right of the cursor,
  4. pushing aside any text that's there.
  5.  
  6. [This macro is included, as the file ALTI.WPM, in the P4WPM
  7. directory on your PowerBase *.* Volume IV diskette. The text
  8. of the macro appears below for reference.]
  9.  
  10. Stephen Schrank
  11. Salt Lake City, Utah
  12.  
  13. Editor's note: To use the macro, load your document and move
  14. the cursor to where you want to insert spaces, then press
  15. <Alt>-I. As you'll see, the cursor stays where it is instead
  16. of moving as it does when you insert blanks by pressing
  17. <Space>. This makes the macro a handy tool for aligning
  18. tables, creating stylized documents, or opening holes in
  19. lines for text or art.
  20.  
  21. The macro also demonstrates how to preserve typeover mode if
  22. that mode is in effect when the macro runs. The commands
  23. save the current typing state, switch to insert mode if
  24. necessary, and then restore typeover mode before ending. You
  25. might want to keep this tip in mind for other macros that
  26. need to switch typing modes.
  27.  
  28. This WordPerfect macro, ALTI.WPM, indents text.
  29.  
  30. {ASSIGN}typeover~{STATE}&256~
  31. {IF}{VARIABLE}typeover~~
  32.    {Typeover}
  33. {END IF}
  34. ·{Left}
  35. {IF}{VARIABLE}typeover~~
  36.    {Typeover}
  37. {END IF}
  38.  
  39. Title: Move Aside, WordPerfect
  40. Category: WPR
  41. Issue date: Feb 1991
  42. Editor: Tom Swan
  43. Supplementary files: P4WPM\ALTI.WPM
  44.